{{extend genshinLayout}}
{{block 'css'}}
<link rel="stylesheet" type="text/css" href="{{_res_path}}html/player/daily-note-sr.css"/>
{{/block}}

{{block 'main'}}

<div class="title">
  <div class="uid">
    <div class="uid_item"><span class="uid_text">UID:</span><span class="uid_span">{{uid}}</span>
    </div>
    <div class="uid_item"><span class="uid_text">昵称:</span>
      <div class="uid_span">
        <div class="uid_name">{{nickname}}</div>
        <span style="text-indent: 0em;">&nbsp;|&nbsp;{{level}}级</span></div>
    </div>
  </div>
  <div class="title_date">
    <div class="icon">
      <img src="{{_miao_path}}{{icon}}"/>
    </div>
    <div class="title_date_text">
      <div>{{nowDay}}</div>
      <div>{{day}}</div>
    </div>
  </div>
</div>
<div class="subject">
  <div class="subject_note">开拓力：<span>{{current_stamina}}</span>&nbsp;/<span>{{max_stamina}}</span></div>
  <div class="subject_solid"><span style="width: {{bfStamina}};"></span></div>
  <div class="subject_date">
    {{if stamina_recover_time>0}}
    剩余:<span style="margin-left: 25px;">{{resinMaxTime}}</span>
    {{else}}
    开拓力已完全恢复
    {{/if}}
  </div>
</div>
<div class="title_wt">
  <div>
    委托执行({{accepted_epedition_num}}/{{total_expedition_num}})
  </div>
</div>
<div class="bottom">
  {{each expeditions ex}}
  <div class="bottom_item">
    <div class="bottom_list">
      <div style="flex-grow: 1;    width: 240px;">{{ex.name}}</div>
      <div style="flex-grow: 1">{{ex.remaining_time==0?'已完成':ex.dateTime}}</div>
      <div class="bottom_icon">
        {{each ex.avatars avatars}}
        {{if avatars=='派遣头像'}}
        <div><img src="{{_res_path}}StarRail/img/role/派遣头像.png" alt=""></div>
        {{else}}
        <div><img src="{{avatars}}" alt=""></div>
        {{/if}}
        {{/each}}
      </div>
    </div>
    <div class="bottom_solid" style="width:{{ex.bfTime}}">
      <span></span>
    </div>
  </div>
  {{/each}}
</div>
{{/block}}
